package top.lshaci.learning.springboot.jpaquerydsl.vo;

import lombok.Data;
import top.lshaci.learning.springboot.jpaquerydsl.core.DslResult;
import top.lshaci.learning.springboot.jpaquerydsl.core.DslFrom;
import top.lshaci.learning.springboot.jpaquerydsl.entity.QUser;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

/**
 * UserVo
 *
 * @author liangxu
 */
@Data
@DslFrom(QUser.class)
public class UserVo {

    private String name;

    @DslResult(field = "name")
    private String nick;

    private Integer age;

    private Date birthday;

    private LocalDate registerDate;

    private LocalTime registerTime;

    private LocalDateTime registerDateTime;
}
